package cn.momoshenchi.product.feign;

import cn.momoshenchi.common.to.SkuReductionTo;
import cn.momoshenchi.common.to.SpuBoundTo;
import cn.momoshenchi.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @version : 1.0
 * @author: momoshenchi
 * @date: 2021/5/2 - 20:09
 */
@FeignClient("gulimail-coupon")
public interface CouponFeignService
{

    @PostMapping("/coupon/spubounds/save")
    R saveSpuBounds(@RequestBody SpuBoundTo spuBoundTo);

    @PostMapping("/coupon/skufullreduction/saveinfo")
    R saveSkuReduction(@RequestBody  SkuReductionTo skuReductionTo);
}
